<?php
require_once("mysql.php");
$query = "select id_poll from poll where hide=0 and archive=0";
$num = mysql_query($query);
$number = mysql_fetch_array($num);
$coo=$number['id_poll'];
if ($_COOKIE["ssepoll"]==$coo)
{
  include("modules/poll/vote.php");
}
else
{
  include("modules/poll/form.php");
}


?>